import request from '@/utils/request'
// 获取验证码
export function getImgCode (clientToken) {
  return request.get(`/api/user-service/user/imageCode/${clientToken}`,
    { responseType: 'blob' }
  )
}
// 封装登录接口
export const login = data => request.post('/api/user-service/user/login', data)
// 封装管理员信息接口
export const user = (id) => request.get(`/api/user-service/user/${id}`)

export function logout () {}
